import React from 'react'
import style from './index.module.scss'
import logoSvg from './icons/logo.svg'

export default function Header() {
  return (
    <div className={style.header}>   {/* 这里加上 className */}
        <div className={style.logo}>  {/* 这里加上 logo 的 className */}
            <img src={logoSvg} alt="" />
            <span>React Playground</span>
        </div>
    </div>
  )
}
